<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css3过渡属性.html</title>
    <style>
        .a {
            width: 300px;
            height: 300px;
            background-color: orange;
            transition: width 0.25s linear, height 0.5s linear;
            cursor: pointer;
        }
        .a:hover {
            width: 500px;
            height: 500px;
        }
    </style>
</head>
<body>
    <div class="a">
    </div>
</body>
</html>